//
//  NovelModel.m
//  数据库
//
//  Created by 霍文轩 on 15/8/14.
//  Copyright (c) 2015年 霍文轩. All rights reserved.
//

#import "CollectNewsModel.h"

@implementation CollectNewsModel

-(void)dealloc{
    [_c_cat_logo release];
    [_c_title release];
    [_c_thumb release];
    [super dealloc];
}
-(instancetype)initWithcontentid:(NSInteger)contentid title:(NSString *)title thumb:(NSString *)thumb cat_logo:(NSString *)cat_logo{
    self = [super init];
    if(self){
        self.c_contentid = contentid;
        self.c_title = title;
        self.c_thumb = thumb;
        self.c_cat_logo = cat_logo;
    }
    return  self;
}
+(instancetype)collectModelWithcontentid:(NSInteger)contentid title:(NSString *)title thumb:(NSString *)thumb cat_logo:(NSString *)cat_logo{
    CollectNewsModel * collect = [[CollectNewsModel alloc] initWithcontentid:contentid title:title thumb:thumb cat_logo:cat_logo];
    return [collect autorelease];
}
@end
